'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	//event为客户端上传的参数
	let label = await db.collection('label').get()
	
	
	return {
		code: 200,
		mag: '数据返回成功',
		data: label.data
	}
};
